package com.hospital.yygh.cmn;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 数据字典(省市县区)
 * @ComponentScanal：扫描包
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.hospital")
@EnableDiscoveryClient  // 开启服务注册
public class ServiceCmnApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnApplication.class, args);
        System.out.println("ServiceCmnApplication...启动成功！！！！！");
    }

}
